package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * document对象 equipment_document
 * 
 * @author ruoyi
 * @date 2025-03-31
 */
public class EquipmentDocument extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 线路 */
    @Excel(name = "线路")
    private Long lineid;

    /** 车站 */
    @Excel(name = "车站")
    private Long stationid;

    /** 设备 */
    @Excel(name = "设备")
    private Long eqId;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String filePath;

    /** 证件文件名 */
    @Excel(name = "证件文件名")
    private String filename;

    /** 文件上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "文件上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setLineid(Long lineid) 
    {
        this.lineid = lineid;
    }

    public Long getLineid() 
    {
        return lineid;
    }

    public void setStationid(Long stationid) 
    {
        this.stationid = stationid;
    }

    public Long getStationid() 
    {
        return stationid;
    }

    public void setEqId(Long eqId) 
    {
        this.eqId = eqId;
    }

    public Long getEqId() 
    {
        return eqId;
    }

    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }

    public void setFilename(String filename) 
    {
        this.filename = filename;
    }

    public String getFilename() 
    {
        return filename;
    }

    public void setCreatedate(Date createdate) 
    {
        this.createdate = createdate;
    }

    public Date getCreatedate() 
    {
        return createdate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("lineid", getLineid())
            .append("stationid", getStationid())
            .append("eqId", getEqId())
            .append("filePath", getFilePath())
            .append("filename", getFilename())
            .append("createdate", getCreatedate())
            .toString();
    }
}
